<?xml version="1.0" encoding="utf-8"?>
<extension type="module" version="3.1" client="site" method="upgrade">
	<name>mod_articles_popular</name>
	<author>Joomla! Project</author>
	<creationDate>July 2006</creationDate>
	<copyright>Copyright (C) 2005 - 2015 Open Source Matters. All rights reserved.</copyright>
	<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
	<authorEmail>admin@joomla.org</authorEmail>
	<authorUrl>www.joomla.org</authorUrl>
	<version>3.0.0</version>
	<description>MOD_POPULAR_XML_DESCRIPTION</description>
	<files>
		<filename module="mod_articles_popular">mod_articles_popular.php</filename>
		<folder>tmpl</folder>
		<filename>helper.php</filename>
		<filename>mod_articles_popular.xml</filename>
	</files>
	<languages>
		<language tag="en-GB">en-GB.mod_articles_popular.ini</language>
		<language tag="en-GB">en-GB.mod_articles_popular.sys.ini</language>
	</languages>
	<help key="JHELP_EXTENSIONS_MODULE_MANAGER_MOST_READ" />
	<config>
		<fields name="params">
			<fieldset name="basic">

				<field
					name="catid"
					type="category"
					extension="com_content"
					multiple="true"
					size="10"
					default=""
					label="JCATEGORY"
					description="MOD_POPULAR_FIELD_CATEGORY_DESC" >
					<option value="">JOPTION_ALL_CATEGORIES</option>
				</field>

				<field
					name="count"
					type="text"
					default="5"
					label="MOD_POPULAR_FIELD_COUNT_LABEL"
					description="MOD_POPULAR_FIELD_COUNT_DESC" />

					<field
					name="show_front"
					type="radio"
					class="btn-group btn-group-yesno"
					default="1"
					label="MOD_POPULAR_FIELD_FEATURED_LABEL"
					description="MOD_POPULAR_FIELD_FEATURED_DESC">
					<option
						value="1">JSHOW</option>
					<option
						value="0">JHIDE</option>
				</field>
				
				<field name="basicspacer1" type="spacer" hr="true" />
				
				<field name="date_filtering" type="list" default="off"
					label="MOD_POPULAR_FIELD_DATEFILTERING_LABEL"
					description="MOD_POPULAR_FIELD_DATEFILTERING_DESC"
				>
					<option value="off">MOD_POPULAR_OPTION_OFF_VALUE
					</option>
					<option value="range">MOD_POPULAR_OPTION_DATERANGE_VALUE
					</option>
					<option value="relative">MOD_POPULAR_OPTION_RELATIVEDAY_VALUE
					</option>
				</field>

				<field name="date_field" type="list" default="a.created"
					label="MOD_POPULAR_FIELD_DATEFIELD_LABEL"
					description="MOD_POPULAR_FIELD_DATEFIELD_DESC"
				>
					<option value="a.created">MOD_POPULAR_OPTION_CREATED_VALUE
					</option>
					<option value="a.modified">MOD_POPULAR_OPTION_MODIFIED_VALUE
					</option>
					<option value="a.publish_up">MOD_POPULAR_OPTION_STARTPUBLISHING_VALUE
					</option>
				</field>

				<field name="start_date_range" type="calendar"
					format="%Y-%m-%d %H:%M:%S"
					label="MOD_POPULAR_FIELD_STARTDATE_LABEL"
					description="MOD_POPULAR_FIELD_STARTDATE_DESC"
					size="22"
					filter="user_utc" />

				<field name="end_date_range" type="calendar"
					format="%Y-%m-%d %H:%M:%S"
					label="MOD_POPULAR_FIELD_ENDDATE_LABEL"
					description="MOD_POPULAR_FIELD_ENDDATE_DESC"
					size="22"
					filter="user_utc" />

				<field name="relative_date" type="text" default="30"
					label="MOD_POPULAR_FIELD_RELATIVEDATE_LABEL"
					description="MOD_POPULAR_FIELD_RELATIVEDATE_DESC" />

			</fieldset>

			<fieldset
				name="advanced">

				<field
					name="layout"
					type="modulelayout"
					label="JFIELD_ALT_LAYOUT_LABEL"
					description="JFIELD_ALT_MODULE_LAYOUT_DESC" />

				<field
					name="moduleclass_sfx"
					type="textarea" rows="3"
					label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL"
					description="COM_MODULES_FIELD_MODULECLASS_SFX_DESC" />

				<field
					name="cache"
					type="list"
					default="1"
					label="COM_MODULES_FIELD_CACHING_LABEL"
					description="COM_MODULES_FIELD_CACHING_DESC">
					<option
						value="1">JGLOBAL_USE_GLOBAL</option>
					<option
						value="0">COM_MODULES_FIELD_VALUE_NOCACHING</option>
				</field>

				<field
					name="cache_time"
					type="text"
					default="900"
					label="COM_MODULES_FIELD_CACHE_TIME_LABEL"
					description="COM_MODULES_FIELD_CACHE_TIME_DESC" />

				<field
					name="cachemode"
					type="hidden"
					default="static">
					<option
						value="static"></option>
				</field>

			</fieldset>
		</fields>
	</config>
</extension>
